package com.zxy.lagouzuoye;

import java.util.List;

/**
 * @author zhangxuyuan
 * @version 1.0
 * @date 2020/10/24
 */
public class App {

    public static void main(String[] args) {
        List<Class<?>> classes = ClassUtil.getClasses("com.zxy.lagouzuoye");
        System.out.println(classes);
        Class clazz =classes.get(0);


        ApplicationContext context = new ApplicationContext();

        System.out.println(context.containner);

        SecondComponent component=(SecondComponent)context.getBeanById("second");

        System.out.println(component);

        component.testTransaction();
        component.getComponentId();
    }
}
